package com.fulu.javabase.proxy.staticproxy;

import com.fulu.javabase.proxy.entity.User;
import com.fulu.javabase.proxy.service.UserService;
import com.fulu.javabase.proxy.service.UserServiceImpl;

public class StaticProxyTest {
    public static void main(String[] args) {
        UserService userService = new UserServiceProxy(new UserServiceImpl());
        userService.add(new User());
    }
}
